package com.ruoyi.purpose.service;

import java.util.List;
import com.ruoyi.purpose.domain.HousePurposeT;

/**
 * 房屋用途Service接口
 * 
 * @author lijie
 * @date 2023-04-20
 */
public interface IHousePurposeTService 
{
    /**
     * 查询房屋用途
     * 
     * @param purposeId 房屋用途主键
     * @return 房屋用途
     */
    public HousePurposeT selectHousePurposeTByPurposeId(Long purposeId);
    public HousePurposeT selectHousePurposeTByPurposeName(String purposeName);

    /**
     * 查询房屋用途列表
     * 
     * @param housePurposeT 房屋用途
     * @return 房屋用途集合
     */
    public List<HousePurposeT> selectHousePurposeTList(HousePurposeT housePurposeT);

    /**
     * 新增房屋用途
     * 
     * @param housePurposeT 房屋用途
     * @return 结果
     */
    public int insertHousePurposeT(HousePurposeT housePurposeT);

    /**
     * 修改房屋用途
     * 
     * @param housePurposeT 房屋用途
     * @return 结果
     */
    public int updateHousePurposeT(HousePurposeT housePurposeT);

    /**
     * 批量删除房屋用途
     * 
     * @param purposeIds 需要删除的房屋用途主键集合
     * @return 结果
     */
    public int deleteHousePurposeTByPurposeIds(Long[] purposeIds);

    /**
     * 删除房屋用途信息
     * 
     * @param purposeId 房屋用途主键
     * @return 结果
     */
    public int deleteHousePurposeTByPurposeId(Long purposeId);
}
